<?php

namespace app\admin\controller\classroom;

use app\common\controller\Backend;

/**
 * 页面
 *
 * @icon fa fa-circle-o
 */
class Pages extends Backend
{

    /**
     * 模型对象
     */
    protected $model = null;
    protected $noNeedRight = ['*'];

    public function get_page_list()
    {
        $pageList = model('app\admin\model\app\Path')->where('type', 0)->select();
        $this->view->assign('pageList', $pageList);
        return $this->view->fetch();
    }
}
